%Succeed to open USB2Dynamixel!
data=struct();
% Reglage:
data.description_experience="Mesure du couple lors de la levé d'un poid de 1Kg";
data.values=zeros(10000,6);% Indices des colonnes de données
data.col_time=1;
data.col_position=2;
data.col_vitesse=3;
data.col_current=4;
data.col_load=5;
data.col_consigne=6;
i=0;

%Duree_us: 1875000
%Press Enter key to continue!(press ESC and Enter to quit)

%Parametre : speedRpm < 8.000000%PresentTimeUs,PresentPosDegree,PresentSpeedRadps,PresentCurrentInc,PresentLoadNm,Goalposdegree
i=i+1;data.values(i,:)=[1,1750,0,2047,32,63.846161];
i=i+1;data.values(i,:)=[11422,1750,0,2037,88,63.846161];
i=i+1;data.values(i,:)=[21000,1750,0,2032,120,63.846161];
i=i+1;data.values(i,:)=[29043,1749,0,2024,160,63.846161];
i=i+1;data.values(i,:)=[36999,1747,1040,2024,139,63.846161];
i=i+1;data.values(i,:)=[45009,1743,1060,2029,96,63.846161];
i=i+1;data.values(i,:)=[54002,1736,1076,2028,73,63.846161];
i=i+1;data.values(i,:)=[62000,1732,1092,2030,50,63.846161];
i=i+1;data.values(i,:)=[71001,1726,1096,2026,42,63.846161];
i=i+1;data.values(i,:)=[78990,1721,1100,2032,55,63.846161];
i=i+1;data.values(i,:)=[86995,1715,1100,2029,42,63.846161];
i=i+1;data.values(i,:)=[94993,1710,1100,2030,42,63.846161];
i=i+1;data.values(i,:)=[102994,1705,1096,2032,34,63.846161];
i=i+1;data.values(i,:)=[110998,1700,1104,2035,39,63.846161];
i=i+1;data.values(i,:)=[118991,1694,1096,2033,20,63.846161];
i=i+1;data.values(i,:)=[126987,1689,1100,2035,18,63.846161];
i=i+1;data.values(i,:)=[136263,1683,1100,2035,31,63.846161];
i=i+1;data.values(i,:)=[145993,1678,1096,2033,31,63.846161];
i=i+1;data.values(i,:)=[155011,1673,1088,2031,51,63.846161];
i=i+1;data.values(i,:)=[163005,1669,1088,2030,65,63.846161];
i=i+1;data.values(i,:)=[170994,1665,1084,2026,73,63.846161];
i=i+1;data.values(i,:)=[179992,1659,1080,2027,87,63.846161];
i=i+1;data.values(i,:)=[187995,1655,1084,2026,73,63.846161];
i=i+1;data.values(i,:)=[196013,1651,1088,2029,61,63.846161];
i=i+1;data.values(i,:)=[205012,1645,1096,2030,47,63.846161];
i=i+1;data.values(i,:)=[213495,1639,1104,2033,28,63.846161];
i=i+1;data.values(i,:)=[223006,1632,1104,2033,28,63.846161];
i=i+1;data.values(i,:)=[231002,1626,1104,2033,20,63.846161];
i=i+1;data.values(i,:)=[238987,1621,1104,2035,20,63.846161];
i=i+1;data.values(i,:)=[247000,1616,1096,2033,31,63.846161];
i=i+1;data.values(i,:)=[254996,1612,1096,2030,45,63.846161];
i=i+1;data.values(i,:)=[262992,1608,1088,2030,51,63.846161];
i=i+1;data.values(i,:)=[270998,1604,1084,2027,65,63.846161];
i=i+1;data.values(i,:)=[279995,1598,1084,2027,73,63.846161];
i=i+1;data.values(i,:)=[289004,1594,1084,2031,67,63.846161];
i=i+1;data.values(i,:)=[296995,1588,1092,2030,53,63.846161];
i=i+1;data.values(i,:)=[304995,1583,1100,2031,34,63.846161];
i=i+1;data.values(i,:)=[312991,1577,1100,2035,20,63.846161];
i=i+1;data.values(i,:)=[321014,1572,1104,2035,20,63.846161];
i=i+1;data.values(i,:)=[329013,1566,1104,2035,26,63.846161];
i=i+1;data.values(i,:)=[337064,1562,1100,2033,31,63.846161];
i=i+1;data.values(i,:)=[345038,1557,1092,2029,45,63.846161];
i=i+1;data.values(i,:)=[354241,1552,1088,2029,65,63.846161];
i=i+1;data.values(i,:)=[362024,1549,1080,2028,73,63.846161];
i=i+1;data.values(i,:)=[370125,1544,1080,2029,87,63.846161];
i=i+1;data.values(i,:)=[378016,1540,1088,2029,67,63.846161];
i=i+1;data.values(i,:)=[386036,1534,1096,2031,47,63.846161];
i=i+1;data.values(i,:)=[394025,1529,1100,2030,42,63.846161];
i=i+1;data.values(i,:)=[402996,1522,1104,2035,28,63.846161];
i=i+1;data.values(i,:)=[410995,1517,1104,2032,26,63.846161];
i=i+1;data.values(i,:)=[419492,1512,1100,2033,26,63.846161];
i=i+1;data.values(i,:)=[427995,1507,1096,2035,45,63.846161];
i=i+1;data.values(i,:)=[436002,1503,1088,2034,51,63.846161];
i=i+1;data.values(i,:)=[443992,1499,1088,2030,59,63.846161];
i=i+1;data.values(i,:)=[451991,1494,1084,2026,87,63.846161];
i=i+1;data.values(i,:)=[460998,1490,1084,2028,67,63.846161];
i=i+1;data.values(i,:)=[469079,1485,1088,2032,53,63.846161];
i=i+1;data.values(i,:)=[477084,1480,1096,2031,47,63.846161];
i=i+1;data.values(i,:)=[485040,1474,1100,2033,42,63.846161];
i=i+1;data.values(i,:)=[493076,1468,1100,2032,47,63.846161];
i=i+1;data.values(i,:)=[501027,1463,1100,2031,47,63.846161];
i=i+1;data.values(i,:)=[509063,1458,1100,2030,34,63.846161];
i=i+1;data.values(i,:)=[517013,1454,1100,2029,39,63.846161];
i=i+1;data.values(i,:)=[525036,1449,1092,2030,53,63.846161];
i=i+1;data.values(i,:)=[533035,1444,1092,2030,53,63.846161];
i=i+1;data.values(i,:)=[541066,1439,1096,2030,53,63.846161];
i=i+1;data.values(i,:)=[549613,1434,1096,2032,47,63.846161];
i=i+1;data.values(i,:)=[558128,1429,1096,2032,47,63.846161];
i=i+1;data.values(i,:)=[566218,1424,1096,2030,39,63.846161];
i=i+1;data.values(i,:)=[574022,1419,1096,2035,39,63.846161];
i=i+1;data.values(i,:)=[582021,1415,1096,2033,39,63.846161];
i=i+1;data.values(i,:)=[590031,1410,1092,2031,53,63.846161];
i=i+1;data.values(i,:)=[598062,1405,1092,2030,53,63.846161];
i=i+1;data.values(i,:)=[606030,1401,1088,2028,45,63.846161];
i=i+1;data.values(i,:)=[614066,1396,1088,2027,59,63.846161];
i=i+1;data.values(i,:)=[622020,1391,1092,2033,45,63.846161];
i=i+1;data.values(i,:)=[630013,1386,1096,2033,34,63.846161];
i=i+1;data.values(i,:)=[638070,1381,1096,2033,47,63.846161];
i=i+1;data.values(i,:)=[646016,1376,1096,2030,47,63.846161];
i=i+1;data.values(i,:)=[654061,1372,1092,2029,45,63.846161];
i=i+1;data.values(i,:)=[662019,1367,1092,2032,45,63.846161];
i=i+1;data.values(i,:)=[670019,1362,1092,2033,45,63.846161];
i=i+1;data.values(i,:)=[678020,1357,1092,2031,39,63.846161];
i=i+1;data.values(i,:)=[686024,1352,1092,2030,53,63.846161];
i=i+1;data.values(i,:)=[694030,1348,1096,2029,47,63.846161];
i=i+1;data.values(i,:)=[701993,1343,1092,2031,45,63.846161];
i=i+1;data.values(i,:)=[710993,1337,1092,2032,53,63.846161];
i=i+1;data.values(i,:)=[718996,1332,1096,2031,39,63.846161];
i=i+1;data.values(i,:)=[726997,1327,1092,2031,39,63.846161];
i=i+1;data.values(i,:)=[735996,1323,1092,2033,39,63.846161];
i=i+1;data.values(i,:)=[743994,1317,1092,2030,53,63.846161];
i=i+1;data.values(i,:)=[752006,1312,1096,2030,53,63.846161];
i=i+1;data.values(i,:)=[759994,1308,1092,2031,39,63.846161];
i=i+1;data.values(i,:)=[767998,1302,1092,2030,53,63.846161];
i=i+1;data.values(i,:)=[775996,1298,1092,2033,53,63.846161];
i=i+1;data.values(i,:)=[783998,1294,1096,2031,53,63.846161];
i=i+1;data.values(i,:)=[791988,1288,1096,2033,39,63.846161];
i=i+1;data.values(i,:)=[801014,1283,1100,2031,53,63.846161];
i=i+1;data.values(i,:)=[808989,1278,1092,2033,39,63.846161];
i=i+1;data.values(i,:)=[817996,1273,1088,2032,53,63.846161];
i=i+1;data.values(i,:)=[825990,1268,1092,2031,39,63.846161];
i=i+1;data.values(i,:)=[834033,1263,1096,2028,53,63.846161];
i=i+1;data.values(i,:)=[841992,1259,1096,2031,53,63.846161];
i=i+1;data.values(i,:)=[850989,1253,1092,2031,59,63.846161];
i=i+1;data.values(i,:)=[859973,1248,1096,2031,53,63.846161];
i=i+1;data.values(i,:)=[869495,1242,1096,2032,45,63.846161];
i=i+1;data.values(i,:)=[877995,1237,1096,2029,53,63.846161];
i=i+1;data.values(i,:)=[886989,1231,1096,2033,53,63.846161];
i=i+1;data.values(i,:)=[896005,1226,1092,2030,53,63.846161];
i=i+1;data.values(i,:)=[903990,1222,1092,2030,39,63.846161];
i=i+1;data.values(i,:)=[913245,1216,1092,2033,53,63.846161];
i=i+1;data.values(i,:)=[921992,1209,1092,2031,39,63.846161];
i=i+1;data.values(i,:)=[929991,1204,1096,2032,34,63.846161];
i=i+1;data.values(i,:)=[938988,1199,1096,2030,39,63.846161];
i=i+1;data.values(i,:)=[947994,1193,1096,2031,39,63.846161];
i=i+1;data.values(i,:)=[955990,1189,1092,2030,59,63.846161];
i=i+1;data.values(i,:)=[964996,1184,1092,2030,53,63.846161];
i=i+1;data.values(i,:)=[973014,1179,1092,2031,53,63.846161];
i=i+1;data.values(i,:)=[981014,1174,1096,2031,53,63.846161];
i=i+1;data.values(i,:)=[988989,1169,1096,2031,39,63.846161];
i=i+1;data.values(i,:)=[998009,1164,1096,2033,39,63.846161];
i=i+1;data.values(i,:)=[1005990,1159,1092,2029,39,63.846161];
i=i+1;data.values(i,:)=[1015264,1153,1092,2032,53,63.846161];
i=i+1;data.values(i,:)=[1024003,1148,1096,2031,53,63.846161];
i=i+1;data.values(i,:)=[1032042,1143,1092,2033,39,63.846161];
i=i+1;data.values(i,:)=[1040990,1138,1092,2032,39,63.846161];
i=i+1;data.values(i,:)=[1050011,1133,1096,2033,39,63.846161];
i=i+1;data.values(i,:)=[1057990,1128,1092,2030,39,63.846161];
i=i+1;data.values(i,:)=[1066993,1122,1092,2030,39,63.846161];
i=i+1;data.values(i,:)=[1074997,1117,1092,2031,53,63.846161];
i=i+1;data.values(i,:)=[1082993,1112,1096,2033,39,63.846161];
i=i+1;data.values(i,:)=[1092001,1107,1096,2030,39,63.846161];
i=i+1;data.values(i,:)=[1100006,1102,1096,2032,45,63.846161];
i=i+1;data.values(i,:)=[1107985,1098,1092,2032,45,63.846161];
i=i+1;data.values(i,:)=[1115997,1093,1092,2033,45,63.846161];
i=i+1;data.values(i,:)=[1124991,1088,1096,2031,53,63.846161];
i=i+1;data.values(i,:)=[1134995,1082,1092,2033,59,63.846161];
i=i+1;data.values(i,:)=[1142995,1076,1096,2033,53,63.846161];
i=i+1;data.values(i,:)=[1150997,1071,1096,2032,39,63.846161];
i=i+1;data.values(i,:)=[1158989,1067,1092,2030,39,63.846161];
i=i+1;data.values(i,:)=[1167997,1061,1096,2028,45,63.846161];
i=i+1;data.values(i,:)=[1175996,1057,1096,2030,39,63.846161];
i=i+1;data.values(i,:)=[1183995,1052,1092,2030,39,63.846161];
i=i+1;data.values(i,:)=[1191998,1047,1092,2030,53,63.846161];
i=i+1;data.values(i,:)=[1199993,1042,1092,2030,53,63.846161];
i=i+1;data.values(i,:)=[1207994,1038,1096,2031,47,63.846161];
i=i+1;data.values(i,:)=[1215992,1033,1096,2030,53,63.846161];
i=i+1;data.values(i,:)=[1223994,1028,1092,2030,53,63.846161];
i=i+1;data.values(i,:)=[1231993,1024,1092,2033,39,63.846161];
i=i+1;data.values(i,:)=[1239995,1019,1092,2032,53,63.846161];
i=i+1;data.values(i,:)=[1248997,1014,1096,2031,53,63.846161];
i=i+1;data.values(i,:)=[1256999,1009,1096,2030,53,63.846161];
i=i+1;data.values(i,:)=[1265005,1004,1092,2029,45,63.846161];
i=i+1;data.values(i,:)=[1272996,1000,1096,2032,45,63.846161];
i=i+1;data.values(i,:)=[1280996,995,1096,2033,39,63.846161];
i=i+1;data.values(i,:)=[1289293,989,1092,2032,53,63.846161];
i=i+1;data.values(i,:)=[1298095,984,1092,2030,53,63.846161];
i=i+1;data.values(i,:)=[1305996,980,1096,2032,39,63.846161];
i=i+1;data.values(i,:)=[1313996,975,1092,2032,39,63.846161];
i=i+1;data.values(i,:)=[1322021,970,1092,2032,53,63.846161];
i=i+1;data.values(i,:)=[1330019,966,1096,2034,53,63.846161];
i=i+1;data.values(i,:)=[1338023,961,1096,2032,39,63.846161];
i=i+1;data.values(i,:)=[1347018,955,1092,2032,53,63.846161];
i=i+1;data.values(i,:)=[1355020,950,1092,2030,47,63.846161];
i=i+1;data.values(i,:)=[1363020,946,1092,2030,39,63.846161];
i=i+1;data.values(i,:)=[1371026,941,1092,2030,39,63.846161];
i=i+1;data.values(i,:)=[1379022,936,1096,2030,45,63.846161];
i=i+1;data.values(i,:)=[1387025,931,1096,2030,39,63.846161];
i=i+1;data.values(i,:)=[1395015,926,1092,2030,47,63.846161];
i=i+1;data.values(i,:)=[1403152,921,1096,2030,53,63.846161];
i=i+1;data.values(i,:)=[1411024,917,1096,2032,31,63.846161];
i=i+1;data.values(i,:)=[1419016,912,1096,2032,39,63.846161];
i=i+1;data.values(i,:)=[1427019,906,1096,2031,34,63.846161];
i=i+1;data.values(i,:)=[1435080,901,1096,2032,39,63.846161];
i=i+1;data.values(i,:)=[1444018,897,1096,2031,39,63.846161];
i=i+1;data.values(i,:)=[1451993,892,1092,2030,59,63.846161];
i=i+1;data.values(i,:)=[1460997,886,1096,2030,53,63.846161];
i=i+1;data.values(i,:)=[1469017,881,1096,2031,39,63.846161];
i=i+1;data.values(i,:)=[1476992,876,1092,2032,39,63.846161];
i=i+1;data.values(i,:)=[1484996,872,1096,2032,53,63.846161];
i=i+1;data.values(i,:)=[1492989,868,1096,2030,53,63.846161];
i=i+1;data.values(i,:)=[1501007,863,1088,2030,39,63.846161];
i=i+1;data.values(i,:)=[1508989,858,1092,2031,39,63.846161];
i=i+1;data.values(i,:)=[1517995,852,1092,2031,39,63.846161];
i=i+1;data.values(i,:)=[1525996,847,1096,2032,39,63.846161];
i=i+1;data.values(i,:)=[1534008,843,1092,2032,39,63.846161];
i=i+1;data.values(i,:)=[1541989,837,1092,2033,34,63.846161];
i=i+1;data.values(i,:)=[1549991,832,1096,2032,39,63.846161];
i=i+1;data.values(i,:)=[1558988,828,1096,2032,39,63.846161];
i=i+1;data.values(i,:)=[1567996,823,1092,2031,53,63.846161];
i=i+1;data.values(i,:)=[1575996,819,1096,2028,31,63.846161];
i=i+1;data.values(i,:)=[1583997,814,1092,2031,31,63.846161];
i=i+1;data.values(i,:)=[1591989,809,1092,2033,53,63.846161];
i=i+1;data.values(i,:)=[1600990,803,1092,2029,39,63.846161];
i=i+1;data.values(i,:)=[1610012,798,1092,2032,39,63.846161];
i=i+1;data.values(i,:)=[1617993,793,1092,2032,53,63.846161];
i=i+1;data.values(i,:)=[1625993,789,1096,2030,53,63.846161];
i=i+1;data.values(i,:)=[1634010,783,1096,2029,45,63.846161];
i=i+1;data.values(i,:)=[1641991,778,1096,2032,53,63.846161];
i=i+1;data.values(i,:)=[1649992,773,1092,2037,39,63.846161];
i=i+1;data.values(i,:)=[1658987,768,1092,2030,45,63.846161];
i=i+1;data.values(i,:)=[1667991,763,1092,2032,53,63.846161];
i=i+1;data.values(i,:)=[1675995,759,1096,2031,53,63.846161];
i=i+1;data.values(i,:)=[1684004,754,1096,2033,53,63.846161];
i=i+1;data.values(i,:)=[1691989,749,1096,2032,39,63.846161];
i=i+1;data.values(i,:)=[1700990,743,1092,2038,23,63.846161];
i=i+1;data.values(i,:)=[1709988,737,1092,2043,1027,63.846161];
i=i+1;data.values(i,:)=[1718798,734,1092,2048,1075,63.846161];
i=i+1;data.values(i,:)=[1726997,730,1084,2048,1101,63.846161];
i=i+1;data.values(i,:)=[1735993,726,1076,2048,1086,63.846161];
i=i+1;data.values(i,:)=[1744993,725,1060,2048,1070,63.846161];
i=i+1;data.values(i,:)=[1753012,726,1044,2048,1039,63.846161];
i=i+1;data.values(i,:)=[1760994,727,0,2048,16,63.846161];
i=i+1;data.values(i,:)=[1769461,728,12,2048,41,63.846161];
i=i+1;data.values(i,:)=[1777997,728,16,2048,49,63.846161];
i=i+1;data.values(i,:)=[1785990,729,8,2048,24,63.846161];
i=i+1;data.values(i,:)=[1794992,728,0,2048,24,63.846161];
i=i+1;data.values(i,:)=[1804988,728,0,2048,24,63.846161];
i=i+1;data.values(i,:)=[1814475,728,0,2048,24,63.846161];
i=i+1;data.values(i,:)=[1823989,728,0,2048,24,63.846161];
i=i+1;data.values(i,:)=[1832054,728,0,2048,24,63.846161];
i=i+1;data.values(i,:)=[1841011,728,0,2048,32,63.846161];
i=i+1;data.values(i,:)=[1849017,728,0,2048,24,63.846161];
i=i+1;data.values(i,:)=[1856988,728,0,2048,24,63.846161];
i=i+1;data.values(i,:)=[1865994,728,0,2048,24,63.846161];
i=i+1;data.values(i,:)=[1873988,728,0,2048,24,63.846161];
i=i+1;data.values(i,:)=[1882996,728,0,2048,24,63.846161];
data.values=data.values(1:i,:);
